﻿Imports DAO
Imports DTO
Public Class LoaiSachBUS
    Public Shared Function DanhSach_Loai_BUS() As List(Of LoaiSachDTO)
        Return LoaiSachDAO.DanhSach_Loai_DAO("Select * From LoaiSach")
    End Function

    Public Shared Function Them_Loai_BUS(ByVal loaisach As LoaiSachDTO) As String
        Return LoaiSachDAO.Them_Loai_DAO(loaisach)
    End Function
    Public Shared Function Sua_Loai_BUS(ByVal loaisach As LoaiSachDTO, ByVal MaCu As String) As String
        Return LoaiSachDAO.Sua_Loai_DAO(loaisach, MaCu)
    End Function
    Public Shared Function Xoa_Loai_BUS(ByVal loaisach As LoaiSachDTO) As String
        Return LoaiSachDAO.Xoa_Loai_DAO(loaisach)
    End Function


End Class
